Page({
  data: {
    url: ''
  },
  
  onLoad: function(options) {
    if (options.url) {
      this.setData({
        url: decodeURIComponent(options.url)
      });
    }
    
    if (options.title) {
      wx.setNavigationBarTitle({
        title: decodeURIComponent(options.title)
      });
    }
  }
}); 